package io.fft.flight.modules.flight.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.fft.flight.common.annotation.EntityFieldDefault;
import lombok.Data;

import java.util.Date;

/**
 * 订单价格明细
 *
 * @author likailun kellenli30541@gmail.com
 * @since 1.0.0 2024-06-19
 */
@Data
@TableName("t_order_price")
public class OrderPriceEntity {

    /**
     * 主键
     */
    private Long id;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 实收总金额
     */
    @EntityFieldDefault()
    private String realTotal;
    /**
     * 应收总金额
     */
    @EntityFieldDefault()
    private String salePriceTotal;
    /**
     * 技术服务费总额
     */
    @EntityFieldDefault()
    private String techServiceFee;
    /**
     * 技术服务费率
     */
    @EntityFieldDefault()
    private String techServiceFate;
    /**
     * 技术服务费类型 1.比例 2-定额
     */
    @EntityFieldDefault(value = "0")
    private Integer techServiceType;
    /**
     * 票面总金额
     */
    @EntityFieldDefault()
    private String totalprice;
    /**
     * 返点
     */
    @EntityFieldDefault()
    private String supCommisionPoint;
    /**
     * 定额
     */
    @EntityFieldDefault()
    private String supCommisionMoney;
    /**
     * taxAndFuelTotal
     */
    @EntityFieldDefault()
    private String taxAndFuelTotal;
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * 更新人
     */
    private Long updater;
    /**
     * 更新时间
     */
    private Date updateDate;
}